package com.hub.realtime.resource.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hub.realtime.common.annotation.Excel;
import com.hub.realtime.common.core.domain.BaseEntity;

/**
 * 用于保存最新的检查点对象 res_checkpoints
 *
 * @author wupeng
 * @date 2022-02-08
 */
@Data
@TableName("res_checkpoints")
public class ResCheckpoints extends BaseEntity<ResCheckpoints>
{
    private static final long serialVersionUID = 1L;

    /** id */
    @TableId(value="id", type= IdType.AUTO)
    private Long id;

    /** jobid */
    @TableField("job_id")
    @Excel(name = "jobid")
    private Long jobId;

    /** 保存点路径 */
    @TableField("path")
    @Excel(name = "检查点保存地址")
    private String path;

}

